﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GCELibrary.Current;

namespace ZF.WS.Person
{
    public partial class index : ZF.BLL.Page.GMPage
    {
        public Model.US_Member USMember { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            using (var dc = BLL.SiteInfo.CreateDBDataContext())
            {
                USMember = dc.US_Member.FirstOrDefault(p => p.MemberId == CurrentUser.MemberId);
                if(USMember==null)
                    throw WarnFactory.CreateWarn(WarnCode.ReocrdNoFind);

            }
        }
    }
}
